<template>
  <div id="app">
    <keep-alive exclude="detail">
      <router-view/>
    </keep-alive>
    <maintabbar v-show="$route.path.indexOf('/detail') === -1"/>
  </div>
</template>

<script>
import maintabbar from '@/components/content/mainTabbar/maintabbar'
// 默认暴露导出
export default {
  name: 'App',
  // 注册组件
  components:{
    maintabbar
  },
  mounted() {
    console.log(this)
  
  },

}
</script>

<style>
@import "assets/css/base.css";
</style>
